package HostComm;

import java.io.Serializable;

/**
 * 
 * @author Dakota Brown, Travis Shuff
 * 
 * Coordinate point
 * @since 09/30/11
 */
public class Point implements Serializable {

    public int x;
    public int y;

    /**
     * NULL point
     * 
     * @since 09/30/11
     */
    public Point(){}

    /**
     * Creates a Point at (x,y).
     * 
     * @param x X-axis location 
     * @param y Y-axis location
     * 
     * @since 09/30/11
     */ 
    public Point(int x, int y){
        this.x = x;
        this.y = y;
    }

    /**
     * Updates a Point's location.
     * 
     * @param x X-axis location
     * @param y Y-axis location
     * 
     * @since 09/30/11
     */
    public void update(int x, int y){
        this.x = x;
        this.y = y;
    }

}